<template>
  <view>
    <!-- loadding start -->
    <view class="loading" >
      <view class="text-666 text-center">
        <view class="loading-icon"></view>
      </view>
      <view class="loading-tips text-666 text-center">
        <text>loading...</text>
      </view>
    </view>
    <!-- loadding end -->
  </view>
</template>

<script>
  export default{
    data(){
      return{
        
      }
    },
    methods:{
      
    }
  }
</script>

<style scoped lang="scss">
  // loading start
  .loading{
    margin-top:20rpx;
  }
  @keyframes rotate{
    from{
      transform: rotate(0deg);
    }
    to{
      transform: rotate(-360deg);
    }
  }
    .loading-icon {
    margin: 0 10upx;
    width: 80upx;
    height: 80upx;
    display: inline-block;
    vertical-align: middle;
    -webkit-animation: a 1s steps(12) infinite;
    animation: a 1s steps(12) infinite;
    background: transparent url() no-repeat;
    background-size: 100%;
  }


@-webkit-keyframes a {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn)
  }
}

@keyframes a {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn)
  }
}
  // loading end
</style>
